#!/bin/bash
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/miniconda3
rm -f Miniconda3-latest-Linux-x86_64.sh
# add miniconda to PATH
echo "export PATH=\$PATH:/opt/miniconda3/bin" > /etc/profile.d/miniconda3.sh